-
Notifications
You must be signed in to change notification settings - Fork 348
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement SnapStart Runtime Hooks #701
Conversation
01790d9
to
f4745e0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
left some comments
|
||
## Build & Deploy | ||
|
||
1. Install [cargo-lambda](https://github.com/cargo-lambda/cargo-lambda#installation) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems https://www.cargo-lambda.info/guide/installation.html makes more sense here. There's no installation secion in this git
assert_eq!(req.method(), Method::GET); | ||
assert_eq!(req.uri(), &Uri::from_static("/2018-06-01/runtime/restore/next")); | ||
assert!(match req.headers().get("User-Agent") { | ||
Some(header) => header.to_str().unwrap().starts_with("aws-lambda-rust/"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
might prefer a Const instead of str value
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Issue #, if available:
Description of changes:
Implemented SnapStart Runtime Hooks
By submitting this pull request